@charset 'utf-8';

@import 'common';

@mixin main_width{
    width: r(582px);
    margin: 0 auto;
}

$mian_c:#b20000;
$main_local_c:#f3f3f3;
$main_head_c:#ffffff;
$mian_h3:#313131;

.banner{
    position: relative;
    width: 100%;
    padding-top: 27.03%;
    margin-top: r(7px);
    img{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}
.column{
    width: 100%;
    margin-top: r(7px);
    padding-bottom: r(20px);
    background: $main_local_c;
    .item_wrap{
        display: flex;
        border-bottom: 1px solid #dfdfdf;
        .item{
            width: r(213px);
            height: r(88px);
            font-size: r(26px);
            text-align: center;
            line-height: r(88px);
            a{
                color: #8b8b8b;
            }
        }
        .item:first-child{
            color: $main_head_c;
            background: $mian_c;
        }
    }
}
article{
    @include main_width;
    p{
        font-size: r(20px);
        color: #8b8b8b;
        text-indent: 2em;
        margin-top: r(28px);
    }
}
.video_wrap{
    @include main_width;
    margin-top: r(22px);
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    .video{
        width: 100%;
//      height: r(336px);
        margin-top: r(37px);
        margin-bottom: r(31px);
        video{
            width: 100%;
        }
    }
}
.course_wrap{
    @include main_width;
    margin-top: r(15px);
    .course_head{
        background: $mian_c;
        overflow: hidden;
        .cl_wrap{
            width: r(90px);
            .cl{
                width: r(40px);
                height: r(40px);
                margin: 0 auto;
                margin-top: r(20px);
                border-radius: 50%;
                border: r(4px) solid $main_head_c;
                img{
                    display: block;
                    width: r(20px);
                    height: r(20px);
                    margin: 0 auto;
                    margin-top: r(6px);
                }
            }
        }
        .cm_wrap{
            p{
                font-size: r(30px);
                line-height: r(80px);
                color: $main_head_c;
            }
        }
        .cr_wrap{
            position: relative;
            width: r(38px);
            height: r(41px);
            margin-top: r(17px);
            margin-right: r(20px);
            img{
                @include img;
                color: $main_head_c;
            }
        }
    }
}

.course{
    display: flex;
    align-items: center;
    .cl_wrap{
        width: r(90px);
        flex-basis: r(90px);
        .cls{
            width: r(4px);
            height: r(37px);
            background: #d0dbdc;
            margin-left: r(43px);
        }
        .clm{
            display: flex;
            justify-content: center;
            align-items: center;
            width: r(34px);
            height: r(34px);
            border-radius: 100%;
            border: r(3px) solid #d0dbdc;
            margin-left: r(28px);
            .clm_r{
                width: r(13px);
                height: r(13px);
                border-radius: 100%;
                background: #d0dbdc;
            }
        }
    }
    .cm_wrap{
        width: r(492px);
        h3{
            font-size: r(31px);
            line-height: r(31px);
            color: $mian_h3;
        }
        p{
            font-size: r(20px);
            line-height: r(20px);
            color: $mian_c;
            margin-top: r(5px);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }
}
.course:nth-of-type(2n+1){
    .cl_wrap{
        .clm{
            border-color: $mian_c;
            .clm_r{
                background: $mian_c;
            }
        }
    }
    
}
.load{
    margin-top: 0;
}
